package org.example.controller;

import org.example.model.domain.User;
import org.example.model.dto.LoginUser;
import org.springframework.web.bind.annotation.*;

@RestController
public class HelloController {

    @GetMapping("/hello")
    public String hello(){
        return "hello world";
    }

    @PostMapping("/login")
    public String login(@RequestBody User user){

        return "hello world";
    }
}
